ozi: don't deinit a write stream if we don't have one.
authorRobert Lipe <robertlipe@users.noreply.github.com>
Tue, 27 Oct 2020 08:28:03 +0000 (03:28 -0500)
committerGitHub <noreply@github.com>
Tue, 27 Oct 2020 08:28:03 +0000 (03:28 -0500)
commit863157b392b61bb28c557b88f741834355b16714
tree2010947b82efef7f430944aa96e6a84067d9b5a6
parente1e195beca8e0f24ca0e41c02d1986af13865cd0
ozi: don't deinit a write stream if we don't have one.

We can get into close() with a null stream_ TextStream. I think it has to do with ozi_openfile() reopening a file with a new name to match an extension of a certain type so it's renaming a file that hasn't been written. See issue #646
ozi.cc